<?
include 'config/config.inc.php';
rinnovaSessione();
switch($_POST['op']) {
	case "province":
		$rs = lancia_procedura("elenco_province", "");
		die('{'.Get_json("rows", $rs, Array("sigla","provincia","regione")).'}');
		break;
		
	case "nazioni":
		$rs = lancia_procedura("elenco_nazioni", "");
		die('{'.Get_json("rows", $rs, Array("id","valore")).'}');
		break;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--<!DOCTYPE html>-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;">
<title>Check Flayer Module</title>
<link href="stili/stili.css" rel="stylesheet" type="text/css" />
<link href="stili/jquery-ui.css" rel="stylesheet" type="text/css" />
<? include 'includes/js.php';?>
</head>
<body>
<div class="viewport">
<div class="mask">
<div class="loading"><img src="images/ajax-loader.gif" align="absmiddle" /> Loading...</div>
</div>
<div class="view-top">
<? include 'includes/top.php';?>
</div>
<div id="viewleft" class="view-left">
<? include 'includes/left.php';?>
</div>
<div id="navbar" class="navbar">
<span style="font-size: .9em;">Ti trovi in:</span> <span id="cont-navbar">Home</span>
</div>
<div id="content" class="view">
</div>
<div class="view-bottom"></div>
</div>
</body>
</html>